feat/ui 3d peek#12
Draft
dustenhubbard wants to merge 3 commits into
Draft
Conversation
dustenhubbard
commented
Jun 29, 2026
Owner
- feat(ui): add a right-edge 3D-scene slide-over (peek)
- test(ui): cover the 3D-scene peek lifecycle, wiring, and animation
Add a "3D Scene" slide-over that slides in over the field with a dimming scrim, for a quick 3D peek without leaving the 2D view, following the v1 prototype's .slideover (header with reset/close + 3D body + footer). The panel, scrim, and a floating "3D Scene" pill are children of the main window, pinned to the field's right edge and re-pinned on resize via an event filter; the slide and scrim fade respect the reduced-motion case. Open via the pill, the Series > 3D menu (a checkbox synced to the open state), or Ctrl+Shift+D (the prototype's bare "3" and every digit-3 chord are already bound to palette buttons). The footer's "Open full 3D" hands off to the existing window-based viewer. The body is a faithful static preview in this slice; setSceneWidget() is the seam to host the real CustomPlotter once it accepts an external parent (live VTK needs a GL context and cannot be exercised offscreen).
Headless offscreen tests for the slide-over: right-edge geometry and the min(460px, 62%) sizing, open/close/toggle state and visibility, the reduced-motion and animated paths (including in-flight resize retargeting), field-resize re-pin, close via scrim/Escape/button (direct and through real event dispatch), the menu-action and Ctrl+Shift+D wiring, the checkActions sync guard, and the "Open full 3D" hand-off.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.